package online.keepon.wechatpush.utils;

import lombok.Data;
import org.apache.http.client.utils.DateUtils;

import java.util.Date;

/**
 * @author top
 */
@Data
public class DateUtil {

    public static String formatDate(Date date) {
        return DateUtils.formatDate(date, "YYYY-MM-dd");
    }
}
